<%@ Control Language="C#" AutoEventWireup="true" Codebehind="CaptureTop5Players.ascx.cs"
    Inherits="ASP_TF2LogParser.UserControls.CaptureTop5Players" %>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">
    <Columns>
        <asp:TemplateField HeaderText="Match" SortExpression="PlayerName">
            <ItemTemplate>
                <asp:Label runat="server" Text='<%# GenerateUrl( Eval("PlayerName").ToString(), Eval("PlayerId").ToString() ) %>'
                    ID="PlayerNameLabel"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="Captures" HeaderText="Captures" ReadOnly="True" SortExpression="Captures" />
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetCaptureTop5Players"
    TypeName="LogParser.DA.CaptureModel"></asp:ObjectDataSource>
